package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.goods.pojo.Goods;
import entity.Result;


public interface GoodsService extends IService<Goods> {
    Result findAll();

    Result add(Goods goods);

    Result findPage(Integer page, Integer size);

    Result findById(Integer id);

    Result updateById(Integer id,Goods goods);

    Result delete(Integer id);

}
